package com.macaline.bean;


/**
 * 
 * @author warm_joy
 *<p>Description:  微信开发获取二维码时对JsAPI进行持久化处理的实体类</p>
 *<p>date: 2019-04-29 17:43</p>
 *<p>company: www.leimingyun.com </p>
 */
public class JsapiTicket {
	
	//获得ticket
	private String ticket;
	//得到ticket的时间
	private int gainTime;
	
	/**
	 * ticket缓存的时间
	 */
	public final static int CACHE_TIME = 5000;
	
	
	public String getTicket() {
		return ticket;
	}
	public void setTicket(String ticket) {
		this.ticket = ticket;
	}
	public int getGainTime() {
		return gainTime;
	}
	public void setGainTime(int gainTime) {
		this.gainTime = gainTime;
	}
	@Override
	public String toString() {
		return "JsapiTicket [ticket=" + ticket + ", gainTime=" + gainTime + "]";
	}
}
